'''
fuction : 定义全局变量
author  : 辛天宇
date    : 2024-4-9
-------------------------------
author date  modify

'''
# 全局变量
# 项目名称
TOPIC = 'Chip Evaluation Board Self-test System'
# 对齐长度
NAME_SIZE = 23
# 服务器IP
SERVER_IP = "192.168.5.110"
# 服务器端口
SERVER_PORT = 8888
# 温度
TEM = 28
# 湿度
HUM = 25
# 缓冲区--不能为空为空会直接结束通讯
TX_BUF = "@000"
RX_BUF = "#000"
# 发送接收标志位
FLAG = 0
# SR04
SR04_DATA = "000"
# MOTOR 0:正转 1：反转
MOTOR_DATA = "0"
MOTOR_DIRECTION = "0"
# IRDA
IRDA_DATA = "0"
# at24c02
AT24C02_DATA = ""
# DAC
DAC_DATA = ""